package cn.lingyangwl.agile.misc.order;

import cn.lingyangwl.agile.misc.order.model.*;
import cn.lingyangwl.agile.model.constants.*;
import cn.lingyangwl.framework.core.response.*;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author shenguangyang
 */
@FeignClient(contextId = "remoteOrderService", url = "${server-url:}", value = ServiceCodeCons.ORDER_SERVICE)
public interface RemoteOrderService {
    @PostMapping("/order/save")
    Resp<?> saveOrder(@RequestBody OrderSaveReq req);
}
